<template>
  <div>
    <div class="header">
      <img src="@/assets/images/return.png" class="header_img" @click="back"/>
      <div class="title">专业社区账户</div>
      <div class="save" @click="saveBack">保存</div>
    </div>
    <div class="base_message">
      <div class="link">
        <div class="github_img"></div>
        <div class="com_link">https://github.com/</div>
      </div>
      <div class="count">
        <div class="user">请输入您的账号</div>
        <div class="delete_img"></div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "Community",
    data() {
      return {
        count: null
      }
    },
    methods: {
      back() {
        this.$router.back()
      },
      saveBack() {
        this.$router.back()
      },
    }

  }
</script>

<style scoped>
  .header {
    box-sizing: border-box;
    position: relative;
    display: flex;
    height: 90px;
    background-color: #8ec43e;
    align-items: center;
    padding: 0 30px;
  }

  .header_img {
    width: 17px;
    height: 30px;
  }

  .title {
    text-align: center;
    flex: 1;
    font-size: 30px;
    color: #ffff;
  }

  .save {
    font-size: 28px;
    color: #ffffff;
  }

  .base_message {
    background-color: #ffffff;
    height: 180px;
    padding: 0px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .link {
    display: flex;
    flex-direction: row;
  }

  .count {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .github_img {
    width: 36px;
    height: 36px;
    background: url("~@/assets/images/github@2x.png") left center no-repeat;
    background-size: cover;
    background-origin: border-box;
    margin-right: 21px;
  }

  .delete_img {
    width: 34px;
    height: 34px;
    background: url("~@/assets/images/proveRemove.png") left center no-repeat;
    background-size: cover;
    background-origin: border-box;
  }

  .com_link {
    font-size: 28px;
    font-weight: 400;
    color: rgba(43, 43, 43, 1);
  }

  .user {
    font-size: 24px;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: rgba(153, 153, 153, 1);
  }
</style>
